import math
m = eval(input())
n = eval(input())
d1 = int(2.54 * m)
d2 = int(2.54 * n)
s1 = math.pi * ((m/2)**2)
s2 = math.pi * ((n/2)**2)
num = math.ceil(s1/s2)
print(num)